package com.bright.hxj.cwduijie.pojo.po;

import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.persistence.*;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @Author  hxj
 * @Date 2024-07-18 16:45:17 
 * @Description  
 */

@Data
@Entity
@Table(name ="DJ_FZHSLX")
public class AssistCodeType implements Serializable {

	private static final long serialVersionUID =  1130515873563777738L;

	/**
	 * 主键ID
	 */
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
   	@Column(name = "ID")
	private Integer ID;

	/**
	 * 唯一标识
	 */
	@NotBlank
	@Length(max = 36)
   	@Column(name = "DATA_KEY")
	private String DATA_KEY;

	/**
	 * 账套唯一标识
	 */
	@NotBlank
	@Length(max = 36)
   	@Column(name = "ZT_DATA_KEY")
	private String ZT_DATA_KEY;

	@NotBlank
	@Length(max = 18)
	@Column(name = "TYSHXYDM")
	private String TYSHXYDM;

	/**
	 * 辅助核算项目类型名称
	 */
	@NotBlank
	@Length(max = 32)
   	@Column(name = "FZHS_LX_NAME")
	private String FZHS_LX_NAME;

	/**
	 * 字段序号
	 */
	@NotNull
   	@Column(name = "FIELD_SEQ")
	private Integer FIELD_SEQ;

	/**
	 * 字段标识
	 */
	@NotBlank
	@Length(max = 32)
   	@Column(name = "FIELD_KEY")
	private String FIELD_KEY;

	/**
	 * 字段显示名称
	 */
	@NotBlank
	@Length(max = 32)
   	@Column(name = "FIELD_NAME")
	private String FIELD_NAME;

   	@Column(name = "opType")
	private Integer opType;

   	@Column(name = "sjjhbz")
	private Integer sjjhbz;

   	@Column(name = "taskId")
	private String taskId;

}
